package com.huawei.gamebox.service.common.cardkit.card;

import android.content.Context;
import android.widget.RelativeLayout.LayoutParams;
import o.azb;
import o.exp$a;

public class CloverEntryCardV2 extends BaseCloverEntryCardV2 {
    public CloverEntryCardV2(Context context) {
        super(context);
        this.ʼॱ = context;
    }

    protected int ˊ() {
        return (azb.ॱ(this.ˏ) - ((this.ˏ.getResources().getDimensionPixelSize(exp$a.ˏ) + azb.ˏ(this.ˏ)) + azb.ˊ(this.ˏ))) / 2;
    }

    protected void ˎ() {
        LayoutParams layoutParams = (LayoutParams) this.ॱ.getLayoutParams();
        layoutParams.height = (int) (((float) ˊ()) / 0.75f);
        this.ॱ.setLayoutParams(layoutParams);
    }
}
